/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.enforcement.hid.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hopes.bizz.enforcement.hid.dto.RiskHidHiddenDangerDTO;
import com.hopes.bizz.enforcement.hid.entity.RiskHidCheckTaskRecordEntity;
import com.hopes.bizz.enforcement.hid.vo.RiskHidCheckTaskHidVO;

import java.util.List;

/**
 * 隐患检查记录
 *
 * @author daijie
 * @date 2023-07-28 15:20:59
 */
public interface RiskHidCheckTaskRecordService extends IService<RiskHidCheckTaskRecordEntity> {

    /**
     * @Description 根据任务id查询列表
     * @Author lyb
     * @Date 2023/6/19
     **/
    List<RiskHidCheckTaskRecordEntity> listByTaskId(Long taskId);

    /**
     * @Description 查询异常任务
     * @Author lyb
     * @Date 2023/6/19
     **/
    List<RiskHidCheckTaskRecordEntity> listExByTaskId(Long taskId);

    /**
     * @Description 获取检查类型
     * @Author lyb
     * @Date 2023/6/19
     **/
    Integer getCheckType(Long id);

    /**
     * @Description 根据任务初始化隐患信息
     * @Author lyb
     * @Date 2023/6/19
     **/
    RiskHidCheckTaskHidVO initHidInfo(Long id);

    boolean saveTaskHidden(RiskHidHiddenDangerDTO riskHidHiddenDangerDTO);
}
